﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebBrowserTest.AnalyzeResults
{
    public class DensityAnalyzerResult : AbstractAnalyzeResult
    {
        public string Keyword { get; set; }

        public int Density { get; set; }

        public int WordCount { get; set; }

        public float PercentageDensity
        {
            get
            {
                if (WordCount == 0) return 0;
                return ((float)Density / WordCount) * 100;               
            }
        }
    }
}
